// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import echarts from 'echarts'
// import VueI18n from 'vue-i18n'
// import messages from './language'

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

// Vue.use(VueI18n)

// const i18n = new VueI18n({
//   locale: 'en',
//   messages
// })

Vue.use(ElementUI)

/* eslint-disable no-new */
let vm = new Vue({
  // i18n,
  el: '#app',
  router,
  render: h => h(App)
})

vm.$mount('#app')
